﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Hydra.Shell.Attributes;

namespace Hydra.Shell.Interfaces
{
    [Guid("3AFAE242-B530-11D0-8199-00A0C91BBEE3")]
    public interface IPersistFileFormat : IPersist
    {
        bool IsDirty(out bool pfIsDirty);
        bool InitNew(uint nFormatIndex);
        bool Load(string pszFilename, uint grfMode, bool fReadOnly);
        bool Save(string pszFilename, bool fRemember, uint nFormatIndex);
        bool SaveCompleted(string pszFilename);
        bool GetCurFile(out string ppszFilename, out uint pnFormatIndex);
        bool GetFormatList(out string[] ppszFormatList);
    }
}
